package com.zyl.points.bean;

public class Question {
  private Integer id;
  private String title;
  private String answer;
  private Integer appearTimes;
	public Question(Integer id,String title, String answer,Integer appearTimes) {
	super();
	this.id =id;
	this.title = title;
	this.answer = answer;
	this.appearTimes = appearTimes;
   }
	public Question(String title, String answer,Integer appearTimes) {
		super();
//		this.id =id;
		this.title = title;
		this.answer = answer;
		this.appearTimes = appearTimes;
	   }
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAnswer() {
		return answer;
	}
	public void setAnswer(String answer) {
		this.answer = answer;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getAppearTimes() {
		return appearTimes;
	}
	public void setAppearTimes(Integer appearTimes) {
		this.appearTimes = appearTimes;
	}
	@Override
	public String toString() {
		return "Question [id=" + id + ", title=" + title + ", answer=" + answer
				+ ", appearTimes=" + appearTimes + "]";
	}
}
